import java.util.Scanner;


public class main {
	public static void main(String[] args){
		System.out.println("what's your Pets name?");
		Scanner scan = new Scanner(System.in);
		String name = scan.nextLine();
		System.out.println("What's Your pet's age?");
		int age = scan.nextInt();
		System.out.println("Is it happy?");
		boolean happy = scan.nextBoolean();

		
		
		Dog bran = new Dog(name, age, "", happy);
		
		System.out.println(bran.getName());
		bran.setName("Aids");
		try {
			bran.setAge(-748);
		} catch (NNE e) {
			// TODO Auto-generated catch block
			System.out.println(e);
		}
		System.out.println(bran.getAge());
		System.out.println(bran.getBreed());
		
		}
}
